const wxUserRouter = require("../router.js");
const {verifyParams} = require("@common/middleware")
const {verifyUser} = require("./login.middleware")
const {login} = require("./login.controller")

wxUserRouter.post("/login",verifyParams(require("./validate")),verifyUser,login)